# -*- coding: utf-8 -*-
from flask_migrate import Manager, MigrateCommand
from flask_script import Server
from apps import create_app

manager = Manager(app=create_app())
manager.add_command("run", Server(port=9000))
manager.add_command("db", MigrateCommand)

if __name__ == '__main__':
    manager.run()
